import React, {Component} from 'react'
import {Button} from "primereact/button";
import {InputText} from "primereact/inputtext";
import {InputTextarea} from "primereact/inputtextarea";

class AddAddressDialog extends Component {
    render() {

        return (

            <div>
                <div className="card p-g-12">
                    <label className="p-g-2">名称：</label>
                    <InputText placeholder="请输入名称" size={70}/>
                </div>
                <div className="card p-g-12">
                    <label className="p-g-2">备注：</label>
                    <InputTextarea placeholder="备注" id="remark" rows={3} cols={70}/>
                </div>


                <div className="card p-g-12">
                    <label className="p-g-2">地址：</label>
                    <InputText placeholder="请输入地址" className="placeholderColor p-g-8"/>
                    <Button label="确认" className="p-button-success"
                            style={{marginLeft: "15px"}}/>
                </div>

                <div className="card p-g-12" style={{textAlign: "center"}}>
                    <Button label="添加" style={{width: "100px"}}
                            className="p-button-warning"/>
                </div>
            </div>

        )
    }
}

export default AddAddressDialog